Disable asynchronous aborts for SATA devices
authorHannes Reinecke <hare@suse.de>
Wed, 10 Jan 2018 07:34:02 +0000 (08:34 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Jan 2018 19:45:05 +0000 (19:45 +0000)
commitb64d00a7d9fa3c10cdb34ea2b47dc2ccdc0d826d
tree8ce6b7f7d4be08e3812a25320ae5e22ad84c3bd5
parent5b9d10d12ca8937724351f0e6dbca82af9dcfda8
Disable asynchronous aborts for SATA devices

Handling CD-ROM devices from libsas is decidedly odd, as libata
relies on SCSI EH to be started to figure out that no medium is
present.
So we cannot do asynchronous aborts for SATA devices.

Fixes: 909657615d9 ("scsi: libsas: allow async aborts")
Cc: <stable@vger.kernel.org> # 4.12+
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Yves-Alexis Perez <corsac@debian.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name libsas-Disable-asynchronous-aborts-for-SATA-devices.patch
drivers/scsi/libsas/sas_scsi_host.c